  t2 = qL1+qL6;
  t3 = qL6*qL6;
  t4 = -cpv;
  t5 = -cvv;
  t6 = 1.0/p0;
  t7 = 1.0/qL1;
  t10 = 1.0/sqrtGL;
  t8 = t7*t7;
  t9 = t7*t7*t7;
  t11 = cpd+t4;
  t12 = cvd+t5;
  t13 = qL6*t7;
  t14 = t13+1.0;
  t15 = 1.0/t14;
  t16 = t15*t15;
  t17 = eqv*t13*t15;
  t19 = t11*t13*t15;
  t20 = t12*t13*t15;
  t18 = t17+1.0;
  t21 = -t19;
  t22 = -t20;
  t23 = cpd+t21;
  t24 = cvd+t22;
  t27 = Rd*qL5*t6*t7*t10*t18;
  t25 = 1.0/t24;
  t28 = t2*t27;
  t26 = t25*t25;
  t29 = log(t28);
  t30 = t23*t25;
  t31 = t30-1.0;
  t32 = pow(t28,t30);
  t33 = pow(t28,t31);
  A0[0][0] = p0*(t29*t32*(t25*(qL6*t8*t11*t15-t3*t9*t11*t16)-t23*t26*(qL6*t8*t12*t15-t3*t9*t12*t16))-t30*t33*(-t27+Rd*qL5*t2*t6*t8*t10*t18+Rd*qL5*t2*t6*t7*t10*(eqv*qL6*t8*t15-eqv*t3*t9*t16)));
  A0[0][4] = Rd*t2*t7*t10*t18*t30*t33;
  A0[0][5] = p0*(t30*t33*(t27+Rd*qL5*t2*t6*t7*t10*(eqv*t7*t15-eqv*qL6*t8*t16))-t29*t32*(t25*(t7*t11*t15-qL6*t8*t11*t16)-t23*t26*(t7*t12*t15-qL6*t8*t12*t16)));
